package org.divineryang.service;

import jakarta.servlet.http.HttpServletResponse;
import org.divineryang.model.entity.product.Category;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @program new-bee
 * @Description
 * @Author Diviner Yang
 * @Date 2024/04/23 9:53
 * @Version 1.0
 */
public interface CategoryService {
    List<Category> findByParentId(Long parentId);

    void exportData(HttpServletResponse response);

    void importData(MultipartFile file);

    List<Category> findCategoryList(Long id);
}
